package components.toolbar
{
	import capricornus.components.ComponentsManager;
	import capricornus.components.window.WindowAlignType;

	/**
	 * 游戏下面信息管理器
	 *  
	 * @author kael
	 * 
	 */	
	public class ToolBarController
	{
		public static var instance:ToolBarController;
		
		private var _view:ToolBarView;
		
		public function ToolBarController()
		{
			init();
		}
		
		private function init():void
		{
			instance = this;
			
			_view = new ToolBarView( ComponentsManager.instance.backLayer );
			_view.setLocation( 0, 900-_view.height );
			_view.setAlignType( WindowAlignType.LEFT, WindowAlignType.TOP );
			_view.show();
		}
	}
}